package com.butterfly.hotkey.common.disruptor.event;

import java.io.Serializable;

/**
 * @author butterfly
 * @version 1.0
 * 事件
 */
public class QueueEvent implements Serializable {

    /**
     * 事件的来源标识
     */
    protected String source;

    /**
     * 包含的数据
     */
    private Object data;

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }


}
